<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of messagerdto
 *
 * @author Circle
 */
class messagerdto {
    //put your code here
    /** @var string */
    private $userID;
    /** @var DateTime */
    private $datePost;
    /** @var string */
    private $contentOfMessages;
    
    public function _construct($user, $mess,$date)
    {
       $this->userID=$user;
       $this->datePost=$date;
       $this->contentOfMessages=$mess;
    }

    public function getUserID()
    {
        return $this->userID;
    }
    
    public function setUserID($id)
    {
        $this->userID = $id;
    }
    
    public function getDatePost()
    {
        return $this->datePost;
    }
    
    public function setDatePost($date)
    {
        $this->datePost = $date;
    }
    
    public function getContentOfMessages()
    {
        return $this->contentOfMessages;
    }
    
    public function setContentOfMessages($content)
    {
        $this->contentOfMessages = $content;
    }
}

?>
